import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
import reportWebVitals from './reportWebVitals'

import 'css-guava/lib/rem1920.css'
import { eventbus } from 'js-guava'

ReactDOM.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
  document.getElementById('root')
)

window.onresize = () => {
  setTimeout(() => {
    eventbus.emit('resize')
  }, 600)
}

reportWebVitals()
